package com.gyz.taxiplus;

import com.baidu.platform.comapi.basestruct.GeoPoint;

public class Taxi {
	public static final int WAITING = 0;
	public static final int BOOKED = 1;
	public static final int INUSE = 2;
	public static final int OFF = 3;
	private String id;
	private GeoPoint pt;
	private int state;

	public Taxi(String id, int latitude, int longitude, int state) {
		super();
		this.id = id;
		pt = new GeoPoint(latitude, longitude);
		this.state = state;
	}

	public String getId() {
		return id;
	}

	public GeoPoint getPt() {
		return pt;
	}

	public int getState() {
		return state;
	}

}
